package org.artifact.protocol;

import java.io.File;
import java.io.FileFilter;
import java.io.Serializable;
import java.util.List;

import cn.hutool.core.io.FileUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.util.ArrayUtil;
import cn.hutool.core.util.HashUtil;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args ) throws Exception
    {
//    	ProtocolBuilder.builder()
//    	.sourcePath("src/main/java/org/gaming/center/proto")
//    	.packageName("org.gaming.center.proto")
//    	.designSourcePath("classpath:").build().exec();
    	
//    	String[] array = {"User"};
//    	
//    	System.out.println(ArrayUtil.toString(array).replace("[", "<").replace("]", ">"));
    	
    	int a = (short)3 << 16 ^ (short)2;
    	System.out.println(a);
    	int b = a >> 16;
    	System.out.println(a >> 16);
    	System.out.println(b << 16 ^ a);
    	
    	System.out.println(1 & 2);

		Console.log(HashUtil.javaDefaultHash("structName"));
    }
    
}
